package com.gopay.common.constants.cbrmb;

/**
 * @ClassName: CbRmb01736Step
 * @Description: 跨境分账操作阶段
 * @Author b.zou
 * @date 2017-7-26
 */
public enum CbRmb01736Step {

    /**
     * 异步处理分账的账务
     */
    ASYNCHRONOUS_ACCOUNT_PROCESSING("1");

    public final String value;

    private CbRmb01736Step(String value) {
        this.value = value;
    }

    /**
     * @Description: 根据枚举类型的字符串值 获取 相应的枚举变量
     * @param str
     * @return
     */
    public static CbRmb01736Step getCbRmb01736Step(String str) {
        CbRmb01736Step[] cs = CbRmb01736Step.class.getEnumConstants();
        for (CbRmb01736Step c : cs) {
            if (c.toString().equals(str)) {
                return c;
            }
        }
        throw new RuntimeException(" wrong " + CbRmb01736Step.class.getSimpleName() + " string value! " + str);
    }
}
